//index.js
const app = getApp()
Page({

  /**
   * 页面的初始数据
   */
  data: {
    imgUrls: [
      'https://www.guoshiying.xyz/uploads_img/shiyingwz154599429048345.jpg',
      'https://www.guoshiying.xyz/uploads_img/shiyingwz154590481647651.jpg',
      'https://www.guoshiying.xyz/uploads_img/shiyingwz154565649613454.png'
    ],
    nine:[
      { title: "京东超市", url: "../../images/ca89a8718704215c.png", id: "" },
      { title: "海囤全球", url: "../../images/5bee366dN1627d554.png", id: "" },
      { title: "京东服饰", url: "../../images/65c0cdc1362635fc.png", id: "" },
      { title: "京东生鲜", url: "../../images/43ea8051bc50d939.png", id: "" },
      { title: "京东到家", url: "../../images/7145d448a943627f.gif", id: "" },
      { title: "充值缴费", url: "../../images/5b03b74eN3541598d.png", id: "" },
      { title: "9.9元拼", url: "../../images/5b03fae3N67f78fe3.png", id: "" },
      { title: "领券", url: "../../images/cce1d67d9972592f.png", id: "" },
      { title: "赚钱", url: "../../images/5b03b779N5c0b196f.png", id: "" },
      { title: "全部", url:"../../images/5b0cea29N8fb2865f.png",id:""},
    ],
    indicatorDots: true,
    indicatorColor:"#fff",
    indicatoractivecolor:"#333",
    autoplay: true,
    interval: 5000,
    duration: 1000
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {
    
  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady: function () {
    
  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow: function () {
    
  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide: function () {
    
  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload: function () {
    
  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh: function () {
    
  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom: function () {
    
  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage: function () {
    
  }
})